<?php
require_once("../../class2.php");
require_once("./includes/require_all.php");

$game= mysql_real_escape_string($_GET['game']);
$word= mysql_real_escape_string($_GET['name']);
$trans= mysql_real_escape_string($_GET['trans']);
$status= mysql_real_escape_string($_GET['status']);

if (in_array(USERNAME,$mods,true)) {
	mysql_query("UPDATE cms_dict SET status='$status', translation='$trans' WHERE keyword='$word' AND game='$game'");
}
?>